<?PHP
class webContent extends webControl
{
	public $tagName = 'content';
	
	public function setPage($page)
	{
		parent::setPage($page);
		if ( $page->template )
		{
			$container = $page->template->findControl($this->getId());
			$controls = $page->getControls();
			foreach ( $controls as $item )
			{
				$container->addControl($item);
			}
		}
	}
	function Render($writer)
	{
		$this->RenderChildren($writer);
	}
}
?>